<?php
$root = substr(__FILE__,0,strlen(__FILE__)-strlen('controllers/API_GCM/GCMInterface.itf.php'));

echo $root;
?>